﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Apollo;

namespace AlgoMS
{
    public class ApolloPlugin : IApolloPlugin
    {
        public string Name
        {
            get { return "AlgoMS Strategy Plug-in"; }
        }

        public string Description
        {
            get { return "AlgoMS Strategy Plug-in"; }
        }

        public string Author
        {
            get { return "AlgoMS"; }
        }

        public string Version
        {
            get { return "1.0"; }
        }

        public void Initialize(IApolloPluginHost pluginHost)
        {
            // Register your strategies and complex orders here.
            // pluginHost.registerStrategyFactory(new UnilateralTrendStrategyFactory());
            // pluginHost.registerStrategyFactory(new RedisBasicOrderStrategyFactory());
            pluginHost.registerStrategyFactory(new AlgoMSContractFactory());
            pluginHost.registerStrategyFactory(new AlgoMSStrategyFactory());
            // pluginHost.registerComplexOrderType(typeof(TriggerOrder));
        }
    }
}
